import hzcRequest from "../../../utils/https";

// 按条件查询销售佣金
const getMenberBrokerage = (params, data) => {
  return hzcRequest.post(
    `/api/menberBrokerage/getMenberBrokerage?size=${params.size}&current=${params.current}`,
    data
  );
};

// // 按条件查询礼包佣金
// const getmenberBonus = (params, data) => {
//   return hzcRequest.post(
//     `/api/memberBonu/getmenberBonus?size=${params.size}&current=${params.current}`,
//     data
//   );
// };


// 查询全部
const getmenberBonus = (params, data) => {
  return hzcRequest.post(
      `/api/memberBonu/getmenberBonus?size=${params.size}&current=${params.current}`,
      data
  );
};


export { getMenberBrokerage, getmenberBonus };
